package com.mszlu.blog.service;

import com.mszlu.blog.vo.Result;
import com.mszlu.blog.vo.param.CommentParam;

/**
 * Created with IntelliJ IDEA.
 * User: SJP
 * Date: 2022/3/2
 * Time: 19:43
 *
 * @author sjp
 * Description: No Description
 */
public interface CommentsService {
    /**
     * 根据文章id查询所有的评论列表
     * @param id
     * @return
     */
     Result commentsByArticleId(Long id);

    /**
     * 根据文章id 父评论id 添加评论
     * @param commentParam
     * @return
     */
    Result comment(CommentParam commentParam);
}
